package com.niuwa.p2p.dao.channel;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.ShareHolder;
@MyBatisDao
public interface ShareHolderDao {
    int deleteByPrimaryKey(String shareholderCode);

    int insert(ShareHolder record);

    int insertSelective(ShareHolder record);

    ShareHolder selectByPrimaryKey(String shareholderCode);

    /**
     *  根据公司编号查询股东信息列表
     * @param corpCode
     * @return
     */
    List<ShareHolder> selectShareholderByCorpCodeForChannelDetail(String corpCode);

    int updateByPrimaryKeySelective(ShareHolder record);

    int updateByPrimaryKey(ShareHolder record);
}